package com.yunfeisoft.business.service.impl;

import com.yunfeisoft.business.dao.inter.LaundryRoomDisinfectionSignDao;
import com.yunfeisoft.business.model.LaundryRoomDisinfectionSign;
import com.yunfeisoft.business.service.inter.LaundryRoomDisinfectionSignService;
import com.yunfeisoft.common.base.BaseServiceImpl;
import com.yunfeisoft.common.sql.separation.DataSourceChange;
import com.yunfeisoft.common.utils.Page;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * ClassName: LaundryRoomDisinfectionSignServiceImpl
 * Description: 洗衣房消毒签到表service实现
 * Author: Jackie liu
 * Date: 2020-05-22
 */
@Service("laundryRoomDisinfectionSignService")
public class LaundryRoomDisinfectionSignServiceImpl extends BaseServiceImpl<LaundryRoomDisinfectionSign, String, LaundryRoomDisinfectionSignDao> implements LaundryRoomDisinfectionSignService {

    @Override
    @DataSourceChange(slave = true)
    public Page<LaundryRoomDisinfectionSign> queryPage(Map<String, Object> params) {
        return getDao().queryPage(params);
    }
}